//
//  WSADManager.h
//  CharonTVProject
//
//  Created by karong on 2023/8/1.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class WSADManager;
@protocol WSADManagerDelegate <NSObject>

@optional;

/// 播放完成回调
- (void)rewardVideoPlayComplete:(WSADManager *)manager;
/// 加载失敗回调
- (void)rewardVideoLoadFail;

@end

@interface WSADManager : NSObject
SingletonH
///加载广告
- (void)loadRewardedAd;
///播放广告
- (void)showADView;
@property (weak, nonatomic) id<WSADManagerDelegate> delegate;
@property (nonatomic, assign) BOOL onlineTimePlayVideoToday;
- (void)resetOnlineTimePlayVideoTodayState:(BOOL)state;

@end

NS_ASSUME_NONNULL_END
